<%@ page contentType="text/html;charset=utf-8" %>
<%@ include file="/store/include/init_store.jsp" %>
<%

	String publisher_id = StringUtil.nvl(request.getParameter("publisher_id"));

	PublisherDAO dao 		= new PublisherDAO();
	
	HashMap infos = new HashMap();
	infos.put("publisher_id", publisher_id);
	HashList list = dao.selectPublisherList(infos);
	
	if (list.size() == 1) {
		out.print("{ \"result\":" + false + ", \"message\":\"사용중인 아이디입니다.\" }");
	} 
	else {
		out.print("{ \"result\":" + true + ", \"message\":\"성공\" }");
	}
%>